<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://libs.baidu.com/jquery/2.1.4/jquery.min.js"></script>
    <title>Document</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            background-color: pink;
        }
    </style>
</head>
<body>
   <div id="k"></div>

     <script>
              $(function()
              {
                  $("#k").bind("click",function()
                  {
                      $("#k").css("backgroundColor","red");
                      $("#k").width(250);
                  })
              })
     </script>
     

     
</body>
</html>